package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CollageRequest对象", description="普通拼新增")
public class CollageResponse implements Serializable {

    @ApiModelProperty(value = "商品ID")
    @NotBlank(message = "商品ID不能为空")
    private String commodityId;

    @ApiModelProperty(value = "商品名称")
    @NotBlank(message = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "拼团人数")
    private Integer groupNumber;

    @ApiModelProperty(value = "优惠价格（实付价格）")
    private Integer actualPrice;

    @ApiModelProperty(value = "原价")
    private Integer originalPrice;

    @ApiModelProperty(value = "阈值（低于则报警）")
    private Integer notice;

    @ApiModelProperty(value = "是否开启连带赠（1开启，2关闭）")
    private Integer isNotGift;
}
